package cn.collin.commons.utils;

/**
 * http://collincode.googlecode.com
 * 
 * @author collin.code@gmail.com
 * 
 * 文件meta object
 * 
 */
public class FileMeta {
	/**
	 * 文件名称
	 */
	String name;

	/**
	 * 文件格式类型
	 */
	String type;

	/**
	 * 文件实际路径
	 */
	String filePath;

	/**
	 * 文件对应的web path
	 */
	String webPath;

	/**
	 * 文件大小
	 */
	long size;
	
	public FileMeta(){
		
	}

	public FileMeta(String name, String type, String filePath, String webPath,
			long size) {
		this.name = name;
		this.type = type;
		this.filePath = filePath;
		this.webPath = webPath;
		this.size = size;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getWebPath() {
		return webPath;
	}

	public void setWebPath(String webPath) {
		this.webPath = webPath;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

}
